<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
        <div class="col-sub">
          <div class="block first-block block-articles " id="block-articles-71352" rel="71352">
            <div class="block-head">
              <div class="head-inner">
                <h2 class="title">文章分类</h2>
                <div class="links"></div>
              </div>
            </div>
            <div class="block-content clearfix">
              <div class="item-list">
                <ul class="clearfix">
                   <?php
    $topCate=K('Category')->where('pid=0 AND is_show=1')->limit(1000)->order('csort ASC')->all();
    foreach ($topCate as $filed):
    $filed['url']=U('List/index',array('cid'=>$filed['cid']));
?>

                  <li> <a title="<?php echo $filed['cname'];?>" href="<?php echo $filed['url'];?>"><?php echo $filed['cname'];?></a> </li>
                  
<?php
endforeach
?>
                </ul>
              </div>
            </div>
            <div class="block-foot">
              <div>
                <div>-</div>
              </div>
            </div>
          </div>
          <div class="block last-block block-diy " id="block-diy-71360" rel="71360">
            <div class="block-head">
              <div class="head-inner">
                <h2 class="title">联系我们</h2>
              </div>
            </div>
            <div class="block-content clearfix">
              <div class="content-text">
                <p> 地址：**********路123号<br />
                  电话：86-0571-98888888 <br />
                  传真：86-0571-9888888&nbsp; <br />
                  邮箱：contact@abcd.com<BR <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=304784300&amp;site=qq&amp;menu=yes" target="_blank"><img title="点击这里给我发消息" border="0" alt="点击这里给我发消息" src="http://wpa.qq.com/pa?p=2:304784300:47" /></a><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=304784300&amp;site=qq&amp;menu=yes" target="_blank"><img title="点击这里给我发消息" border="0" alt="点击这里给我发消息" src="http://wpa.qq.com/pa?p=2:304784300:47" /></a> </p>
              </div>
            </div>
            <div class="block-foot">
              <div>
                <div></div>
              </div>
            </div>
          </div>
        </div>
 